import { Context, Schema, h } from 'koishi'

export const name = 'lian-waigua'

export interface Config {}

export const Config: Schema<Config> = Schema.object({})

export function apply(ctx: Context) {
  // write your plugin here

  ctx.on('message', (session) => {
    if (session.content.includes("外挂") ) {
      session.send( h.quote(session.messageId) + '外挂。')
    }
  })

}
